﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;

namespace GoodShop.Sale
{
    /// <summary>
    /// 订单表
    /// </summary>
    public class OrderInfo: AuditedAggregateRoot<Guid>, ISoftDelete
    {
        public DateTime OrderInfoTime { get; set; } = DateTime.Now;      //下单日期
        public int PayWayInfoId { get; set; }            //支付方式			
        public int MemberId { get; set; }                //客户id			
        public string OrderInfoAddre { get; set; }       //收货人地址			
        public string OrderInfoName { get; set; }        //收货人姓名			
        public string ShoppAddreTel { get; set; }        //收货人电话			
        public decimal OrderInfoSalePrice { get; set; }  //订单总金额			
        public decimal CommodCountPrice { get; set; }    //商品总金额			
        public string OrderInfoBarCode { get; set; }     //配送方式			
        public decimal OrderInfoPayPrice { get; set; }   //实付金额			
        public string OrderInfoActiveName { get; set; }  //应收金额			
        public decimal OrderPrivilPrice { get; set; }    //优惠金额			
        public int OrderInfoActivePrice { get; set; }    //运费			
        public string OrderInvoiceM { get; set; }        //发票信息			
        public int OrderWheShipments { get; set; }       //是否发货			
        public int OrderInfoAuditState { get; set; }     //审核状态			
        public int OrderInfoWhetherPay { get; set; }     //是否支付			
        public int OrderInfoState { get; set; }          //订单状态（未处理，待审核，有效，无效，缺库存，未支付，已支付）			
        public int OrderInfoDeliveryState { get; set; }  //配送状态			
        public int OrderInfoWaybillNum { get; set; }     //运单号			
        public int LogComId { get; set; }                //配送公司	
        public int   ShopId { get; set; }                  
        public int ShopTypeId { get; set; }
        public int ShopBrandId { get; set; }
        public bool IsDeleted { get; set; }
    }
   
}
